<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" type="text/css" media="screen"
		href="resources/style.css" />
	<title>E-PRODUÇÃO</title>
</h:head>

<h:body>

	<p:layout fullPage="true">

		<p:layoutUnit position="north" size="70">
			<ui:include src="cabecalho.xhtml" />
		</p:layoutUnit>

		<p:layoutUnit position="center"
			header="Cadastro de Linha de Produção">
			
			<h:form id="form">
				<p:growl id="MSG_ERRO" showDetail="false" sticky="true" />
				<h:panelGrid columns="2" styleClass="form" >

				<h:panelGrid columns="2" >
				
					<h:outputLabel value="Código: " />
				 	<h:outputText value="" id="display" />  				
				
					<h:outputLabel value="Descrição:" />
					<p:inputText label="Descrição" required="True" maxlength="70" value=""
						size="35" />					
					
					<h:outputLabel value="Familia de Produto:" />
					<p:selectOneMenu value="" size="35" effect="fade">
						<f:selectItem itemLabel="" itemValue="0" />						
					</p:selectOneMenu>
					
				</h:panelGrid>				

        		<br/>
		        <h:panelGrid columns="4">		
					<p:commandButton value="Cadastrar" ajax="false" />	
					<p:commandButton value="Cancelar" ajax="false" />
					<p:commandButton value="Limpar" ajax="false" />
					<p:commandButton value="Voltar" ajax="false" />
				</h:panelGrid>
				<br/>
				<h:panelGrid columns="2">
				
				 <p:dataTable id="basic" var="func" value="" >  
			        <p:column id="modelHeader">  
			            <f:facet name="header">  
			                    Código  
			            </f:facet>  
			            <h:outputText value="" />  
			        </p:column>  
			  
			        <p:column>  
			            <f:facet name="header">  
			                    Nome  
			            </f:facet>  
			            <h:outputText value="" />  
			        </p:column>  
			  
			        <p:column>  
			            <f:facet name="header">  
			                    Responsavel  
			            </f:facet>  
			            <h:outputText value="" />  
			        </p:column>  
			  			        
			    </p:dataTable>  
				
				</h:panelGrid>
				
				</h:panelGrid>
								

			</h:form>
			
		</p:layoutUnit>
	</p:layout>

</h:body>
</html>